package com.java.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.java.pojo.entity.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.java.pojo.vo.*;

/**
 * <p>
 * 用户基本信息 服务类
 * </p>
 *
 * @author Helen
 * @since 2021-07-08
 */
public interface UserInfoService extends IService<UserInfo> {

    void register(RegisterVo registerVo);

    UserInfoVo login(LoginVo loginVo,String ip);

    IPage<UserInfo> selectByPageList(Integer pageNum,Integer pageSize,UserInfoQueryVo userInfoQueryVo);

    void lock(Integer id);

    Boolean ckPhone(String phone);

    Integer getBindStatus(Long userId);


    UserIndexVo getUserCenter(Long userId);

    String getMobileByBindCode(String bindCode);
}
